package com.itheima.user;

import com.itheima.feign.config.FeignDefaultConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author fanYuLe
 * @Date 2023/3/25 11:03
 * @Blog blog.fanYuLe.net/996.mba
 * @Description:
 */
@EnableFeignClients(basePackages = "com.itheima.feign.client", defaultConfiguration = FeignDefaultConfiguration.class)
@SpringBootApplication
@MapperScan("com.itheima.user.mapper")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}

